package com.softer.wxzj.service.impl;

import com.softer.wxzj.entity.SysDicRateList;
import com.softer.wxzj.mapper.SysDicRateListMapper;
import com.softer.wxzj.service.SysDicRateListService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author zcz
 * @date 2019/7/29
 */
@Service
public class SysDicRateListServiceImpl implements SysDicRateListService {

    @Autowired
    SysDicRateListMapper sysDicRateListMapper;

    @Override
    public List<SysDicRateList> getList(SysDicRateList sysDicRateList) {
        return sysDicRateListMapper.getList(sysDicRateList);
    }

    @Override
    public String getRateNameById(String id) {
        return sysDicRateListMapper.getRateNameById(id);
    }

}
